<?php
include '../util/string-utils.php';

/**
 * Database
 * Date created: 2012/02/26
 * @author AFTECH
 *
 */
class Database{
	private $host ;
	private $uname ;
	private $upass ;
	
	public function __construct(){
		$this->host = HOST ;
		$this->uname = USER_NAME ;
		$this->upass = PASSWORD ;
	}
	
	public function connect(){
		if (mysql_connect($this->host, $this->uname, $this->upass)){
			return true ;
		}
		return false;
	}

}

